/*
 * @Author: wu_zh
 * @Date: 2021-09-24 09:14:00
 * @LastEditors: wu_zh
 * @LastEditTime: 2021-09-26 16:45:27
 * @Descripttion: 
 */
import request from "@/utils/request"

// 获取关联数据
export function getAssociateData(params) {
  return request({
    url: '/sys-form/form/data/linkage',
    method: 'get',
    params: params
  })
}
// 查询模块设计信息
export function getDesignedModule(data) {
  return request({
    url: `/sys-form/form/latest`,
    method: 'get',
    params: data
  })
}

//  获取模块中表单字段列表
export function getField(formKey) {
  return request({
    url: `/sys-form/module/field`,
    method: 'get',
    params: {
      formKey
    }
  })
}